package com.example.demo.services;

import com.example.demo.domain.Teacher;
import com.example.demo.mapper.TeacherMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherService {
    @Resource
    private TeacherMapper teacherMapper;
    public List<Teacher> listTeacher() {
        return teacherMapper.listTeacher();
    }
}
